package src;

public abstract class Armure extends Equipement{
	
	protected int resistance;

	public Armure(int posX, int posY, int quantite) {
		super(posX, posY, quantite);
		this.resistance = 1;
	}
	
	public Armure(int posX, int posY, int quantite, int resistance) {
		super(posX, posY, quantite);
		this.resistance = resistance;
	}
	
	public int getResistance() {
		return resistance;
	}

	public void setResistance(int resistance) {
		this.resistance = resistance;
	}

}
